SET(SWIFT_SCENEKIT_DEPENDENCIES_NON_WATCHOS
  Foundation
  GLKit
  simd
  CoreImage)

add_swift_library(swiftSceneKit ${SWIFT_SDK_OVERLAY_LIBRARY_BUILD_TYPES} IS_SDK_OVERLAY
  SceneKit.swift
  Thunks.mm

  TARGET_SDKS OSX IOS IOS_SIMULATOR TVOS TVOS_SIMULATOR WATCHOS WATCHOS_SIMULATOR
  SWIFT_MODULE_DEPENDS_OSX ${SWIFT_SCENEKIT_DEPENDENCIES_NON_WATCHOS} AppKit
  SWIFT_MODULE_DEPENDS_IOS ${SWIFT_SCENEKIT_DEPENDENCIES_NON_WATCHOS} UIKit
  SWIFT_MODULE_DEPENDS_TVOS ${SWIFT_SCENEKIT_DEPENDENCIES_NON_WATCHOS} UIKit
  SWIFT_MODULE_DEPENDS_WATCHOS Foundation
  SWIFT_MODULE_DEPENDS simd
  FRAMEWORK_DEPENDS_WEAK SceneKit)

